<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()
            + "://" + request.getServerName()
            + ":" + request.getServerPort()
            + path + "/";
%>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta name="renderer" content="webkit">
    <title>java论坛后台管理中心</title>
    <link rel="stylesheet" href="<%=basePath%>css/pintuer.css">
    <link rel="stylesheet" href="<%=basePath%>css/admin.css">
    <script src="<%=basePath%>js/jquery.js"></script>
</head>
<body style="background-color:#f2f9fd;">
<div class="header bg-main">
    <div class="logo margin-big-left fadein-top">
        <h1><img src="<%=basePath%>images/y.jpg" class="radius-circle rotate-hover" height="50" alt=""/>java论坛后台管理中心</h1>
    </div>
    <a style="float: right;margin-top: 20px;margin-right: 10px" class="button button-little bg-red" href="<%=basePath%>shixun/zhuxiaoAdmin"><span class="icon-power-off"></span> 退出登录</a>
</div>
<div class="leftnav">
    <div class="leftnav-title"><strong><span class="icon-list"></span>菜单列表</strong></div>
    <h2><span class="icon-user"></span>后台管理</h2>
    <ul style="display:block">
        <li><a href="<%=basePath%>shixun/allUserInfo" target="right"><span class="icon-caret-right"></span>会员管理</a></li>
        <li><a href="<%=basePath%>shixun/allFile" target="right"><span class="icon-caret-right"></span>文章管理</a></li>
        <li><a href="<%=basePath%>shixun/Tiezi" target="right"><span class="icon-caret-right"></span>帖子管理</a></li>
    </ul>
</div>

<h1 hidden id="adminFrist">${adminFristLogin}</h1>

<script type="text/javascript">
    //
    <%--$(document).ready(function () {--%>
        <%--var $frist = $("#adminFrist").text();--%>
        <%--alert($frist);--%>
        <%--if ($frist != null){--%>
            <%--window.location.href="<%=basePath%>shixun/allUserInfo";--%>
        <%--}--%>
        <%--$("#adminFrist").html("");--%>
    <%--})--%>
    $(function () {
        $(".leftnav h2").click(function () {
            $(this).next().slideToggle(200);
            $(this).toggleClass("on");
        })
        $(".leftnav ul li a").click(function () {
            $("#a_leader_txt").text($(this).text());
            $(".leftnav ul li a").removeClass("on");
            $(this).addClass("on");
        })
    });
</script>
<ul class="bread">
    <li><a href="{:U('Index/info')}" target="right" class="icon-home"> 首页</a></li>
    <li><a href="##" id="a_leader_txt">网站信息</a></li>
</ul>
<div class="admin">
    <iframe scrolling="auto" rameborder="0" src="<%=basePath%>adminLogin/memberManager.jsp" name="right" width="100%" height="100%"></iframe>
</div>

</body>
</html>